package com.myway.pojo;

import lombok.Data;
import lombok.ToString;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

@ToString
public class FlyOrder implements Serializable {
    private Long id;

    private String orderId;

    private String ticketType;

    private String userId;

    private String orderStatus;

    private String contactName;

    private String contactTel;

    private String contactMoble;

    private String contactEmail;

    private String contactAddress;

    private String currency;

    private String pnrImport;

    private String issurSmsSend;

    private String cardRemark;

    private String extraRemark;

    private Date setDate;

    private Date updateDate;

    private String creator;

    private Date timeLimit;

    private String airlineCode;

    private Double mailFee;

    private String ip;

    private String international;

    private String source;

    private Double onSaleValue;

    private Integer quotaNo;

    private String fullPoint;

    private String cuponNo;

    private Integer pointAmout;

    private String couponType;

    private Double totalPrice;

    private String orderCurrenry;

    private Double highPrice;

    private List<FlySegment> flySegmentList;

    public List<FlySegment> getFlySegmentList() {
        return flySegmentList;
    }

    public void setFlySegmentList(List<FlySegment> flySegmentList) {
        this.flySegmentList = flySegmentList;
    }

    private String firstTransId;

    private String lastTransId;

    private String invoiceNumber;

    private Date transIdDate;


    public FlyOrder(Long id, String orderId, String ticketType, String userId, String orderStatus, String contactName, String contactTel, String contactMoble, String contactEmail, String contactAddress, String currency, String pnrImport, String issurSmsSend, String cardRemark, String extraRemark, Date setDate, Date updateDate, String creator, Date timeLimit, String airlineCode, Double mailFee, String ip, String international, String source, Double onSaleValue, Integer quotaNo, String fullPoint, String cuponNo, Integer pointAmout, String couponType, Double totalPrice, String orderCurrenry, Double highPrice, String firstTransId, String lastTransId, String invoiceNumber,Date transIdDate) {
        this.id = id;
        this.orderId = orderId;
        this.ticketType = ticketType;
        this.userId = userId;
        this.orderStatus = orderStatus;
        this.contactName = contactName;
        this.contactTel = contactTel;
        this.contactMoble = contactMoble;
        this.contactEmail = contactEmail;
        this.contactAddress = contactAddress;
        this.currency = currency;
        this.pnrImport = pnrImport;
        this.issurSmsSend = issurSmsSend;
        this.cardRemark = cardRemark;
        this.extraRemark = extraRemark;
        this.setDate = setDate;
        this.updateDate = updateDate;
        this.creator = creator;
        this.timeLimit = timeLimit;
        this.airlineCode = airlineCode;
        this.mailFee = mailFee;
        this.ip = ip;
        this.international = international;
        this.source = source;
        this.onSaleValue = onSaleValue;
        this.quotaNo = quotaNo;
        this.fullPoint = fullPoint;
        this.cuponNo = cuponNo;
        this.pointAmout = pointAmout;
        this.couponType = couponType;
        this.totalPrice = totalPrice;
        this.orderCurrenry = orderCurrenry;
        this.highPrice = highPrice;
        this.firstTransId = firstTransId;
        this.lastTransId = lastTransId;
        this.invoiceNumber = invoiceNumber;
        this.transIdDate=transIdDate;
    }

    public FlyOrder() {
        super();
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId == null ? null : orderId.trim();
    }

    public String getTicketType() {
        return ticketType;
    }

    public void setTicketType(String ticketType) {
        this.ticketType = ticketType == null ? null : ticketType.trim();
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId == null ? null : userId.trim();
    }

    public String getOrderStatus() {
        return orderStatus;
    }

    public void setOrderStatus(String orderStatus) {
        this.orderStatus = orderStatus == null ? null : orderStatus.trim();
    }

    public String getContactName() {
        return contactName;
    }

    public void setContactName(String contactName) {
        this.contactName = contactName == null ? null : contactName.trim();
    }

    public String getContactTel() {
        return contactTel;
    }

    public void setContactTel(String contactTel) {
        this.contactTel = contactTel == null ? null : contactTel.trim();
    }

    public String getContactMoble() {
        return contactMoble;
    }

    public void setContactMoble(String contactMoble) {
        this.contactMoble = contactMoble == null ? null : contactMoble.trim();
    }

    public String getContactEmail() {
        return contactEmail;
    }

    public void setContactEmail(String contactEmail) {
        this.contactEmail = contactEmail == null ? null : contactEmail.trim();
    }

    public String getContactAddress() {
        return contactAddress;
    }

    public void setContactAddress(String contactAddress) {
        this.contactAddress = contactAddress == null ? null : contactAddress.trim();
    }

    public String getCurrency() {
        return currency;
    }

    public void setCurrency(String currency) {
        this.currency = currency == null ? null : currency.trim();
    }

    public String getPnrImport() {
        return pnrImport;
    }

    public void setPnrImport(String pnrImport) {
        this.pnrImport = pnrImport == null ? null : pnrImport.trim();
    }

    public String getIssurSmsSend() {
        return issurSmsSend;
    }

    public void setIssurSmsSend(String issurSmsSend) {
        this.issurSmsSend = issurSmsSend == null ? null : issurSmsSend.trim();
    }

    public String getCardRemark() {
        return cardRemark;
    }

    public void setCardRemark(String cardRemark) {
        this.cardRemark = cardRemark == null ? null : cardRemark.trim();
    }

    public String getExtraRemark() {
        return extraRemark;
    }

    public void setExtraRemark(String extraRemark) {
        this.extraRemark = extraRemark == null ? null : extraRemark.trim();
    }

    public Date getSetDate() {
        return setDate;
    }

    public void setSetDate(Date setDate) {
        this.setDate = setDate;
    }

    public Date getUpdateDate() {
        return updateDate;
    }

    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }

    public String getCreator() {
        return creator;
    }

    public void setCreator(String creator) {
        this.creator = creator == null ? null : creator.trim();
    }

    public Date getTimeLimit() {
        return timeLimit;
    }

    public void setTimeLimit(Date timeLimit) {
        this.timeLimit = timeLimit;
    }

    public String getAirlineCode() {
        return airlineCode;
    }

    public void setAirlineCode(String airlineCode) {
        this.airlineCode = airlineCode == null ? null : airlineCode.trim();
    }

    public Double getMailFee() {
        return mailFee;
    }

    public void setMailFee(Double mailFee) {
        this.mailFee = mailFee;
    }

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip == null ? null : ip.trim();
    }

    public String getInternational() {
        return international;
    }

    public void setInternational(String international) {
        this.international = international == null ? null : international.trim();
    }

    public String getSource() {
        return source;
    }

    public void setSource(String source) {
        this.source = source == null ? null : source.trim();
    }

    public Double getOnSaleValue() {
        return onSaleValue;
    }

    public void setOnSaleValue(Double onSaleValue) {
        this.onSaleValue = onSaleValue;
    }

    public Integer getQuotaNo() {
        return quotaNo;
    }

    public void setQuotaNo(Integer quotaNo) {
        this.quotaNo = quotaNo;
    }

    public String getFullPoint() {
        return fullPoint;
    }

    public void setFullPoint(String fullPoint) {
        this.fullPoint = fullPoint == null ? null : fullPoint.trim();
    }

    public String getCuponNo() {
        return cuponNo;
    }

    public void setCuponNo(String cuponNo) {
        this.cuponNo = cuponNo == null ? null : cuponNo.trim();
    }

    public Integer getPointAmout() {
        return pointAmout;
    }

    public void setPointAmout(Integer pointAmout) {
        this.pointAmout = pointAmout;
    }

    public String getCouponType() {
        return couponType;
    }

    public void setCouponType(String couponType) {
        this.couponType = couponType == null ? null : couponType.trim();
    }

    public Double getTotalPrice() {
        return totalPrice;
    }

    public void setTotalPrice(Double totalPrice) {
        this.totalPrice = totalPrice;
    }

    public String getOrderCurrenry() {
        return orderCurrenry;
    }

    public void setOrderCurrenry(String orderCurrenry) {
        this.orderCurrenry = orderCurrenry == null ? null : orderCurrenry.trim();
    }

    public Double getHighPrice() {
        return highPrice;
    }

    public void setHighPrice(Double highPrice) {
        this.highPrice = highPrice;
    }

    public String getFirstTransId() {
        return firstTransId;
    }

    public void setFirstTransId(String firstTransId) {
        this.firstTransId = firstTransId == null ? null : firstTransId.trim();
    }

    public String getLastTransId() {
        return lastTransId;
    }

    public void setLastTransId(String lastTransId) {
        this.lastTransId = lastTransId == null ? null : lastTransId.trim();
    }

    public String getInvoiceNumber() {
        return invoiceNumber;
    }

    public void setInvoiceNumber(String invoiceNumber) {
        this.invoiceNumber = invoiceNumber;
    }

    public Date getTransIdDate() {
        return transIdDate;
    }

    public void setTransIdDate(Date transIdDate) {
        this.transIdDate = transIdDate;
    }
}